package site.yunnong.atvris.dao.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import site.yunnong.atvris.dao.domain.UserHistoryView;
import site.yunnong.atvris.dao.domain.UserHistoryViewExample;

@Mapper
public interface UserHistoryViewMapper {
    long countByExample(UserHistoryViewExample example);

    int deleteByExample(UserHistoryViewExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UserHistoryView record);

    int insertSelective(UserHistoryView record);

    List<UserHistoryView> selectByExample(UserHistoryViewExample example);

    UserHistoryView selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UserHistoryView record, @Param("example") UserHistoryViewExample example);

    int updateByExample(@Param("record") UserHistoryView record, @Param("example") UserHistoryViewExample example);

    int updateByPrimaryKeySelective(UserHistoryView record);

    int updateByPrimaryKey(UserHistoryView record);
}